<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>付费统计</title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>

<body>
    <div class="winui-toolbar">
        <div class="winui-tool-right" style="float: right;">
            <button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i>刷新数据</button>
        </div>
    </div>

    <div class="layui-row layui-col-space10" style="margin: 15px;">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">付费总览</div>
                <div class="layui-card-body">
                    <div class="layui-row layui-col-space10" style="margin-bottom: 10px;">
                        <div class="layui-col-xs4">
                            <div class="layui-card" style="background:#f6ffed;">
                                <div class="layui-card-header">总金额</div>
                                <div class="layui-card-body" style="font-size: 22px; color: #52c41a;" id="totalPrice">0
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="layui-card" style="background:#e6f7ff;">
                                <div class="layui-card-header">总订单数</div>
                                <div class="layui-card-body" style="font-size: 22px; color: #1890ff;" id="totalCount">0
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="layui-card" style="background:#fffbe6;">
                                <div class="layui-card-header">应用数</div>
                                <div class="layui-card-body" style="font-size: 22px; color: #faad14;" id="appCount">0
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="paymentSummaryChart" style="width: 100%; height: 350px;"></div>
                </div>
            </div>
        </div>
    </div>

    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script src="../../assets/lib/echarts/echarts.min.js"></script>
    <script type="text/javascript">
        layui.config({ base: '../../js/tenant/' }).use('paymentStats');
    </script>
</body>

</html>